#!/usr/bin/env python 
# -*- coding: utf-8 -*-
# @Time    : 2022/10/12 8:31
# @Author  : Junzhao
# @File    : 骰子.py

import random


class Die:
    def __init__(self, sides=6):
        self.sides = sides
        pass

    def roll_die(self):
        return random.randint(1, self.sides)
        pass


d = Die()
for i in range(10):
    print(d.roll_die())
